package ink.teamwork.stock.service;

import com.googlecode.genericdao.search.SearchResult;
import ink.teamwork.stock.entity.Optional;

public interface OptionalService {

    boolean save(Optional optional);

    boolean update(Optional optional);

    SearchResult<Optional> queryPageByUserId(int start, int size, String userId);

}
